package com.qf.controller;

import com.qf.service.Impl.HouseTypeServiceImpl;
import com.qfedu.vo.ResultVo;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@CrossOrigin
public class HouseTypeController {

    @Resource
    private HouseTypeServiceImpl houseTypeService;


    @RequestMapping("/getAllHouseType")
    public ResultVo getAllHouseType(){
        return houseTypeService.getAllHouseType();
    }

}
